#!/bin/bash
while read input_line
do
    current_date=$(date +"%Y_%m_%d")
    echo "$input_line" >> logs/$1_$current_date.log
done
